﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Danser_Control.Exceptions
{
    
        /// <summary>
        /// Exception is raised when an error occures during an attempt
        /// to display a graph
        /// </summary>
        public class DanserGraphException : Exception
        {
            /// <summary>
            /// creates the DanserGraphException instance with given parameters
            /// </summary>
            /// <param name="message"></param>
            public DanserGraphException(String message) 
                : base(message) { }
            
            
            /// <summary>
            /// creates the DanserGraphException instance with given parameters
            /// </summary>
            /// <param name="message"></param>
            /// <param name="innerException"></param>
            public DanserGraphException(String message, Exception innerException)
                : base(message, innerException) { }
        }
    
}
